cd "%~dp0"
if exist c:\windows\SysWOW64 (copy "%~dp0..\..\..\Win32-dll\umf.dll" c:\windows\SysWOW64\) else (copy "%~dp0..\..\..\Win32-dll\umf.dll" c:\windows\System32\)
if exist c:\windows\SysWOW64 (c:\windows\SysWOW64\regsvr32 "%~dp0com(32bit)\AtlUmf.dll") else (c:\windows\system32\regsvr32 "%~dp0com(32bit)\AtlUmf.dll")
pause